import Vue from 'vue'
import VueRouter from 'vue-router'
// import Home from '../views/Home.vue'
import Mine from '../views/mine.vue'
import Classify from '../views/classify.vue'
import Telev  from '../views/telev.vue'
import  Enters from '../views/enter.vue'
import  Register from '../views/register.vue'
import  Seek from '../views/seek.vue'
import  Record from '../views/record.vue'
import Set from "../views/set.vue"




Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Homes',
   
    component: () => import('../views/homes.vue')
  },
  {
    path: '/mine',
    name: 'Mine',
   
    component: Mine
  },
  {
    path: '/classify',
    name: 'Classify',
   
    component: Classify
  },
  {
    path: '/telev',
    name: 'Telev',
    component: Telev
  },
  {
    path: '/enters',
    name: 'Enters',
    component: Enters
  },
  {
    path: '/register',
    name: 'Register',
    component: Register
  },
  {
    path: '/seek',
    name: 'Seek',
    component: Seek
  },
  {
    path: '/record',
    name: 'Record',
    component: Record
  },
  {
    path: '/set',
    name: 'Set',
    component: Set
  },
  
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
